package com.zmzncs.lmtc.module.promotion.service.impl;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zmzncs.lmtc.common.util.ExceptionUtil;
import com.zmzncs.lmtc.module.park.dao.ParkInfoDao;
import com.zmzncs.lmtc.module.park.pojo.parkinfo.ParkInfoDTO;
import com.zmzncs.lmtc.module.promotion.dao.ReserveFeeScaleDao;
import com.zmzncs.lmtc.module.promotion.dao.ReserveRuleDao;
import com.zmzncs.lmtc.module.promotion.dao.ReserveRuleParkDao;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_fee_scale.ReserveFeeScale;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_fee_scale.ReserveFeeScaleDTO;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRule;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRuleAddForm;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRuleDTO;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRuleUpdateForm;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule_park.ReserveRulePark;
import com.zmzncs.lmtc.module.promotion.service.ReserveRuleParkService;
import com.zmzncs.lmtc.module.promotion.service.ReserveRuleService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;

/**
 * <p>
 * 促销-预约规则表 服务实现类
 * </p>
 *
 * @author 高博文
 * @since 2020-12-14
 */
@Service
public class ReserveRuleServiceImpl extends ServiceImpl<ReserveRuleDao, ReserveRule> implements ReserveRuleService {

    @Autowired
    ReserveRuleDao reserveRuleDao;
    @Autowired
    ReserveRuleParkService reserveRuleParkService;
    @Autowired
    ReserveRuleParkDao reserveRuleParkDao;
    @Autowired
    ReserveFeeScaleDao reserveFeeScaleDao;
    @Autowired
    ParkInfoDao parkInfoDao;

}
